import { ITodoItem } from "../interfaces";

export interface IState {
  todoList: ITodoItem[];
  count: number;
  isMobile: boolean;
}

const state: IState = {
  count: 0,
  isMobile: false,
  todoList: [
    {id: 1, title: '起床', content: '7:00 起床', isDone: true},
    {id: 2, title: '刷牙', content: '7:10 刷牙', isDone: false},
    {id: 3, title: '早餐', content: '7:40 吃早餐', isDone: false},
    {id: 4, title: '上班', content: '8:00 上班', isDone: false},
  ]
}

export default state;